package com.wing.product.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.wing.product.model.response.WarehouseTransferOrderDetailVO;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Collections;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wing.product.model.entity.WarehouseTransferOrderDetail;
import com.wing.product.dao.WarehouseTransferOrderDetailDao;
import com.wing.product.service.WarehouseTransferOrderDetailService;
@Service
public class WarehouseTransferOrderDetailServiceImpl extends ServiceImpl<WarehouseTransferOrderDetailDao, WarehouseTransferOrderDetail> implements WarehouseTransferOrderDetailService{

    @Override
    public List<WarehouseTransferOrderDetailVO> getDetailBydTransferOrderId(Long id) {
        return baseMapper.selectTransferOrderDetail(id);
    }

    @Override
    public List<WarehouseTransferOrderDetail> getDetailByTransferOrderId(Long id) {
        return baseMapper.getDetailByTransferOrderId(id);
    }


}
